github.com/pbberlin/tools@v0.0.0-20160910141205-7aa5421c2169/appengine/guestbook/http handlers.go (about)

     1  package guestbook
     2  
     3  import (
     4  	"net/http"
     5  
     6  	"github.com/pbberlin/tools/net/http/loghttp"
     7  )
     8  
     9  func init() {
    10  	http.HandleFunc("/guest-entry", loghttp.Adapter(guestEntry))
    11  	http.HandleFunc("/guest-save", loghttp.Adapter(guestSave))
    12  	http.HandleFunc("/guest-view", loghttp.Adapter(guestView))
    13  }